home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
rafdh12.zip
/
FDHELPER.DOC
next >
Wrap
Text File
|
1990-07-13
|
11KB
|
217 lines
╒═════════════════════════════════════════════════════════════════════════╕
│░░░░░░ FileDoor Helper for RemoteAccess ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
╘═════════════════════════════════════════════════════════════════════════╛
FileDoor Helper Version 1.0
By: William L. Munson
This is another fine utility from:
The Munchkin's Node BBS
(716) 265 - 4492
300 - 2400 baud on-line 24 hours/day
Net/Node 1:260/238
╒═════════════════════════════════════════════════════════════════════════╕
│░░░░░░ INTRODUCTION ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
╘═════════════════════════════════════════════════════════════════════════╛
Have you ever wished that FileDoor (tm) could update the user's upload
and download amounts as well as the user's flag status as soon as the user
returned to your BBS from FileDoor instead of waiting until the next day?
Well, I felt that way also, so I created FileDoor Helper.
FDHELPER takes the files transferred information provided by FileDoor and
updates the users EXITINFO.BBS file to reflect any changes in the users
status before returning the user to RemoteAccess. This includes the users
number of files transferred and K bytes transferred. Also FDHELPER checks
the user's upload K bytes to download K bytes ratio and if that ratio falls
below the minimum specified in the configuration file, FDHELPER will alter
one of the user's flags to disable that person's downloading ability. After
the user uploads enough files to return the ratio to an acceptable level
the program will restore the ability to download. The flag values are also
specified in the configuration file.
╒═════════════════════════════════════════════════════════════════════════╕
│░░░░░░ INSTALLATION ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
╘═════════════════════════════════════════════════════════════════════════╛
In order for FDHELPER to operate properly you =MUST= include the
TYPE15 keyword in your FileDoor configuration file.
The Type15 keyword will keep FileDoor from attempting to do the funny
tricks which it does to change the user's on-line time.
Next run the program FDHSETUP to configure the program to your needs.
The configuration program must be run from the same directory as FDHELPER.
The available options in the setup program are:
1) BBS Name
2) Registration number.
3) Enable Flags.
4) Disable Flags.
5) File ratio type.
6) Time Bank Path.
7) Security Levels.
8) Text colors.
9) Exit Setup with option of saving configuration.
1) This entry should contain the name of your BBS EXACTLY as given in
your registration application form or the Registration Number will not
work properly. Note: The validity check on the registration is not
CASE sensitive.
2) This entry should contain your Registration Number after you get my
registration reply. Non-registered users should use 0 for this entry.
3) This is the flag pattern used to enable downloading. See the
description of flag patterns below for information on setting up your
pattern.
4) This is the flag pattern used to disable downloading. See the
description of flag patterns below for information on setting up your
pattern.
The format of the Flag pattern is the same as that used for
RemoteAccess. The line starts with the letter of the flag (A - D)
followed by 8 action identifier symbols.
X = Set this flag position to on.
- = Set this flag position to off.
? = Leave this position as it was.
Example: AX--X????? - This means set the A flag to on, off, off,
on, with the rest of the flag being left as
it had been.
5) This entry will toggle between the two methods of file ratios.
The two ratio types are:
Kbytes of files - With this method you ratio on the actual number
of bytes transferred.
Number of files - With this method you ratio on the number of
files without regard to how large they are.
6) This entry should contain the complete path to your Time Bank Account.
i.e., C:\REMOTE\ <== Note the trailing backslash. If you do not
wish to support this feature, then leave the line blank and time
banking will be disabled and the user's on-line time will be directly
updated. If you do not wish to give the users time credit then enter
a 0 for the upload time credit multiplier entry in the security level
selections.
NOTE: Time Banking will only work with the program OTBANK by
William L. Munson. I was not able to have it ready at
the time this was released but I will have it ready in
the very near future.
7) Select this option to display a list of 10 security levels. With
this feature you can assign separate file ratios and upload credit
values for up to 10 different levels. The program will select the
entry with the next higher valid level for that user if you do not
have an exact match for that users level. To disable the ratio for a
particular users level just enter a very large ratio ( say 10000 )
for that users level.
8) Select this option to display the colors used in the different
messages displayed by the program. You may alter any of these to
suit your preferences. Note: You do not need a color monitor on
your computer to make use of these colors.
Place the .EXE and .CFG files in the same directory as FileDoor.
FileDoor Helper may be run as either a type 7 or type 15 exit. If
you run this as a type 7 exit then you should create a small batch
file to run both Filedoor and FDHELPER. You will need to tell FDHELPER
which comm port to use as part of the command line. The format to use
is: FDHELPER [COMM PORT]
Where COMMPORT is 1, 2, 3 or 4.
Here is an example of the batch file for downloading on COM1.
FLDR-DWN.BAT ( Example for downloading )
REM THIS BATCH FILE WILL WORK FOR EITHER TYPE 7 OR TYPE 15 EXITS
@ECHO OFF
FILEDOOR FILEDOOR.CFG -DD <--(D for download or U for upload)
FDHELPER 1 <--(note the port number is given on the command line)
-------------------------
Here is what your type 7 optional data line in your menu should
look like for the above batch file.
*C /C FLDR-DWN (for downloading)
In your daily maintenance batch file place a line in it which reads
something like this:
DEL C:\REMOTE\FILEDOOR.UPD (use your RemoteAcess directory path)
FILEDOOR.UPD contains the information on how many files a user has
transferred today. If you do not delete this file each day, the user will
quickly run out of file download capacity as the file door program will
think they have had a very busy day.
Also you no longer need to run the programs FD_KEY or FD_UPD to update
the user's on-line time as this is taken care of by FileDoor Helper.
╒═════════════════════════════════════════════════════════════════════════╕
│░░░░░░ OPERATION ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
╘═════════════════════════════════════════════════════════════════════════╛
FileDoor helper is completely FOSSIL driven for all output and will
monitor the state of the carrier detect line and will not hang the system
trying to output data when the carrier is not present. Every effort has
been made to ensure that this program will not damage your system, but I
cannot be held responsible for any damages which may occur.
In normal operation, after a file transfer, FDHELPER will read the
FILEDOOR.UPD file to get the info on how many files were transferred.
(Using this file for the info allows me to honor the free files and
archive credit features of filedoor.) FileDoor Helper will take that
info and update the user's records. If a violation or correction of a
violation occurs, the program will alter the flag you specified in the
config program.
If you also use my Time Bank program then FileDoor Helper will deposit
the upload credit time directly into the user's bank account.
If an error occurs during operation, the program will display an error
message to the screen and log the error to an error log called
FDHELPER.ERR. This will cause the program to abort and will not affect
the users record.
╒═════════════════════════════════════════════════════════════════════════╕
│░░░░░░ LEGAL STUFF ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
╘═════════════════════════════════════════════════════════════════════════╛
FileDoor Helper is a Shareware program and is NOT public domain or
freeware. If, after a reasonable period of time (30 days), you find this
program to be useful please send me $10.00 and the EXACT name of your board
as you will have it in the configuration file. I will mail you your
registration number which will get rid of the un-registered copy notice the
program displays and also enable you use the ratio and minimum file values
you choose instead of the default values. You will also receive
notification of program upgrades. If you have a FIDO net/node number,
include the information in your registration request and I will send you
your registration by netmail.
If for whatever reason you decide to change the name of your BBS, you
will have to send me a letter or netmail message containing your old BBS
name and registration number and the new name you will be using. I will
send you a new registration number free of charge.
For your convenience, I have included a pre-printed registration form.
The form is in the file FDHELPER.REG
NOTE: For those of you who have read this far, a bug report or suggestion
for future improvements/features MAY get you a free registration in
the mail.